package com.earogya.springsecurity.security;

import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * 
 * Interface to create the users
 * 
 * @author Ureka
 *
 */
public interface CreateUsersInterface extends UserDetailsService {

	/**
	 * 
	 * Create the user based on the given information
	 * 
	 * @param username
	 * @param name
	 * @param password
	 * @param email
	 * @param department
	 */
	void createUser(String username,String name, String password,String email, String department);

}